﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using AuthoSYS.EF;
using System.Web.Mvc;

namespace AuthoSYS.Web.ViewModels
{
    public class UserViewModel : BaseViewModel
    {
        public string UserId { get; set; }

        [Required]
        [DisplayName("User Name")]
        public string UserName { get; set; }

        [Required]
        [DisplayName("Password")]
        public string Password { get; set; }

        public string Description { get; set; }

        public string Roles { get; set; }

        [Required]
        [DisplayName("Department")]
        public string GroupId { get; set; }
    }
}